package xml;

import java.util.ArrayList;
import java.util.List;

public class Email {
	@Override
	public String toString() {
		return "date:"+date+",thinking:"+thinking+",emotion:"+emotion+",\nfrom:"+from
			+",subject:"+subject+",to:"+to+",\nbody:"+body;
	}

	String date;

	String thinking;

	String emotion;

	String from;

	String subject;

	List<To> to = new ArrayList<To>();

	String body;

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getEmotion() {
		return emotion;
	}

	public void setEmotion(String emotion) {
		this.emotion = emotion;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getThinking() {
		return thinking;
	}

	public void setThinking(String thinking) {
		this.thinking = thinking;
	}

	public List<To> getTo() {
		return to;
	}

	public void setTo(List<To> to) {
		this.to = to;
	}

	public Email() {

	}

	public Email(String date, String thinking, String emotion, String from,
			String subject, List<To> to, String body) {
		this.date = date;
		this.thinking = thinking;
		this.emotion = emotion;
		this.from = from;
		this.subject = subject;
		this.to = to;
		this.body = body;
	}

}
